package com.zeroxml.cms.dao;

import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.zeroxml.cms.bo.Link;

import java.util.List;

/**
 * User: cjp
 * Date: 2007-9-22
 * Time: 11:56:54
 */
public interface ILinkDAO extends IHibernateDAO<Link> {
    List<Link> getLinks(long catalogId);

    HibernatePage<Link> getAllLinks(int curPage,int pageSize);

    List<Link> getIndexLinks(int i);
}
